import { axios } from "@/services/axios";

const Project = {
  get: data => axios.get(`api/project/${data.id}`),
  getlist: params => axios.post(`api/project/list`, params),
  create: data => axios.post("api/project", data),
  getid: data => axios.get("api/project", data),
  save: data => axios.post(`api/project/${data.id}`, data),
  delete: data => axios.post(`api/project/delete/${data.id}`),
  getsellist: params => axios.post(`api/project/sellist`, params),
  savebytstatus: data => axios.post(`api/projectbytstatus/${data.id}`, data),
};

export default Project;